package com.jd.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/9/20/020.
 */
public class Detail implements Serializable{
    private Integer did;
    private Integer oid;
    private Goods goods;
    private Integer count;

    @Override
    public String toString() {
        return "Detail{" +
                "did=" + did +
                ", oid=" + oid +
                ", goods=" + goods +
                ", count=" + count +
                '}';
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }


    public Detail(Integer oid, Goods goods, Integer count) {
        this.oid = oid;
        this.goods = goods;
        this.count = count;
    }



    public Detail() {

    }
}
